<?php

namespace App\Services;

use Illuminate\Support\Collection;

/**
 * The SearchServiceInterface defines the contract for a search service.
 */
interface SearchServiceInterface
{
    /**
     * Performs a search based on the given query.
     *
     * @param string $query The search query.
     * @return Collection The search results as a collection.
     */
    public function search(string $query): Collection;
}
